package com.example.whatrubbish.service.impl;

import com.example.whatrubbish.mapper.AdminMapper;
import com.example.whatrubbish.model.Admin;
import com.example.whatrubbish.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminServiceImpl implements AdminService {
    @Autowired
    AdminMapper adminMapper;

    @Override
    public Admin selectByNameAndPass(Admin admin) {
        return adminMapper.selectByNameAndPass(admin);
    }

    @Override
    public int deleteByPrimaryKey(Long adminId) {
        return 0;
    }

    @Override
    public int insert(Admin record) {
        return 0;
    }

    @Override
    public int insertSelective(Admin record) {
        return 0;
    }

    @Override
    public Admin selectByPrimaryKey(Long adminId) {
        return null;
    }

    @Override
    public int updateByPrimaryKeySelective(Admin record) {
        return 0;
    }

    @Override
    public int updateByPrimaryKey(Admin record) {
        return 0;
    }
}
